<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddColor.ascx.cs" Inherits="Beta_fundies_controls_admin_Colors_AddColor" %>
<asp:Panel runat="server" ID="pnlColor" DefaultButton="btnAddColor" Width="100%">
    <p>
        YearMonth (yyyy/MM):<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
            ErrorMessage="Required Field" ValidationGroup="AddColor" ControlToValidate="txtYearMonth"></asp:RequiredFieldValidator><br />
        <asp:TextBox runat="server" ID="txtYearMonth" ValidationGroup="AddColor" />
        <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="txtYearMonth"
            EnableClientScript="False" ErrorMessage="Not a valid date" OnServerValidate="CustomValidator1_ServerValidate"
            ValidationGroup="AddColor"></asp:CustomValidator></p>
    <p>
        Color:<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtColor"
            ErrorMessage="Required Field" ValidationGroup="AddColor"></asp:RequiredFieldValidator><br />
        <asp:TextBox runat="server" ID="txtColor" ValidationGroup="AddColor" />
    </p>
    <asp:Button runat="server" ID="btnAddColor" Text="Add Color" OnClick="btnAddColor_Click" ValidationGroup="AddColor" /></asp:Panel>